package com.dream.common.service;




import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.dream.common.bean.User;
import com.dream.common.dao.UserDao;
import com.dream.common.service.base.AbstractService;

@Service
public class UserService extends AbstractService< User , Long >
{
	
	private UserDao	userDao;
	
	public UserDao getUserDao ( )
	{
		return userDao;
	}
	
	@Autowired
	public void setUserDao ( UserDao userDao )
	{
		this.setCommonDao ( userDao );
		this.userDao = userDao;
	}
	
	@Override
	protected Class< User > getClassType ( )
	{
		return User.class;
	}
	
}
